<% if @really_submit && !@question_version.errors.any? %>
cjs_append('div_lq', '<%=j render partial: "questions/edit", locals: { question: @question } %>');
MathJax.Hub.Queue(["Typeset", MathJax.Hub, '<%= "div_qeedql_#{@question.id}" %>']);
cjs_replace('<%= "form_qnql_#{@question.question_list_id}" %>',
  '<%=j render partial: "questions/form", locals: { question: create_question(@question.question_list) } %>');
<% else %>
cjs_replace('<%= "form_qnql_#{@question.question_list_id}" %>',
  '<%=j render partial: "questions/form", locals: { question: @question } %>');
<% end %>